package com.hmall.order;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 启动类
 * @author xiaojiangshi
 */
@Slf4j
@MapperScan("com.hmall.order.mapper")
@SpringBootApplication
@EnableFeignClients(basePackages = "com.hmall.feign.common")
@EnableTransactionManagement
public class OrderApplication {
    public static void main(String[] args) {
        log.info("order服务启动了....");
        SpringApplication.run(OrderApplication.class, args);
    }

}